home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-2.iso / Files II / Prog / T / ToolsPlus 2.1.sit / Tools Plus 2.1 ƒ / Tools Plus 2.1 (C & Pascal) / Tools Plus 2.1 for C / ToolsPlus.c < prev    next >
MacBinary  |  1993-10-17  |  1.9 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: ToolsPlus.c

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sun Oct 17 12:54:40 1993, modified Sun Oct 17 12:54:40 1993, creator Think C, type ASCII, 1057 bytes "ToolsPlus.c" , at 0x4a1 514 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 54 6f 6f 6c 73 50 | 6c 75 73 2e 63 00 00 00 |..ToolsP|lus.c...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 04 21 00 | 00 02 02 a8 e7 29 50 a8 |......!.|.....)P.|
|00000060| e7 29 50 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.)P.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 03 a5 00 00 |........|........|
|00000080| 2f 2a 20 20 54 6f 6f 6c | 73 20 50 6c 75 73 20 28 |/* Tool|s Plus (|
|00000090| 56 65 72 73 69 6f 6e 20 | 32 2e 31 29 20 54 48 49 |Version |2.1) THI|
|000000a0| 4e 4b 20 43 20 73 75 70 | 70 6c 65 6d 65 6e 74 61 |NK C sup|plementa|
|000000b0| 6c 20 66 69 6c 65 0d 20 | 2a 20 20 43 6f 70 79 72 |l file. |* Copyr|
|000000c0| 69 67 68 74 20 28 43 29 | 20 31 39 38 39 2d 31 39 |ight (C)| 1989-19|
|000000d0| 39 33 20 57 61 74 65 72 | d5 73 20 45 64 67 65 20 |93 Water|.s Edge |
|000000e0| 53 6f 66 74 77 61 72 65 | 0d 20 2a 0d 20 2a 20 20 |Software|. *. * |
|000000f0| 54 68 69 73 20 73 6f 75 | 72 63 65 20 66 69 6c 65 |This sou|rce file|
|00000100| 20 6d 75 73 74 20 62 65 | 20 63 6f 6d 70 69 6c 65 | must be| compile|
|00000110| 64 20 61 73 20 70 61 72 | 74 20 6f 66 20 61 20 70 |d as par|t of a p|
|00000120| 72 6f 6a 65 63 74 20 63 | 6f 6e 74 61 69 6e 69 6e |roject c|ontainin|
|00000130| 67 20 54 6f 6f 6c 73 20 | 50 6c 75 73 2e 0d 20 2a |g Tools |Plus.. *|
|00000140| 20 20 49 74 20 70 72 6f | 76 69 64 65 73 20 61 63 | It pro|vides ac|
|00000150| 63 65 73 73 20 74 6f 20 | 74 68 65 20 53 79 73 74 |cess to |the Syst|
|00000160| 65 6d 56 65 72 73 69 6f | 6e 20 72 6f 75 74 69 6e |emVersio|n routin|
|00000170| 65 2c 20 77 68 69 63 68 | 20 70 72 6f 64 75 63 65 |e, which| produce|
|00000180| 73 20 61 20 64 6f 75 62 | 6c 65 0d 20 2a 09 77 68 |s a doub|le. *.wh|
|00000190| 6f 73 65 20 66 6f 72 6d | 61 74 20 69 73 20 63 6f |ose form|at is co|
|000001a0| 6e 73 69 73 74 65 6e 74 | 20 77 69 74 68 20 79 6f |nsistent| with yo|
|000001b0| 75 72 20 63 6f 6d 70 69 | 6c 65 72 20 73 65 74 74 |ur compi|ler sett|
|000001c0| 69 6e 67 73 20 28 73 74 | 61 6e 64 61 72 64 2c 20 |ings (st|andard, |
|000001d0| 6e 61 74 69 76 65 2c 20 | 6f 72 0d 20 2a 09 66 6f |native, |or. *.fo|
|000001e0| 72 20 61 20 6d 61 74 68 | 20 63 6f 2d 70 72 6f 63 |r a math| co-proc|
|000001f0| 65 73 73 6f 72 29 2e 0d | 20 2a 2f 0d 0d 0d 0d 2f |essor)..| */..../|
|00000200| 2a 20 50 52 49 56 41 54 | 45 3a 09 54 68 69 73 20 |* PRIVAT|E:.This |
|00000210| 66 75 6e 63 74 69 6f 6e | 20 6f 62 74 61 69 6e 73 |function| obtains|
|00000220| 20 74 68 65 20 53 79 73 | 74 65 6d 20 66 69 6c 65 | the Sys|tem file|
|00000230| 27 73 20 76 65 72 73 69 | 6f 6e 20 6e 75 6d 62 65 |'s versi|on numbe|
|00000240| 72 20 61 73 20 61 6e 20 | 69 6e 74 65 67 65 72 20 |r as an |integer |
|00000250| 66 6f 72 20 74 68 65 09 | 2a 2f 0d 2f 2a 09 09 09 |for the.|*/./*...|
|00000260| 53 79 73 74 65 6d 56 65 | 72 73 69 6f 6e 20 66 75 |SystemVe|rsion fu|
|00000270| 6e 63 74 69 6f 6e 2e 09 | 09 09 09 09 09 09 09 09 |nction..|........|
|00000280| 09 09 09 09 09 09 2a 2f | 0d 20 09 70 61 73 63 61 |......*/|. .pasca|
|00000290| 6c 20 69 6e 74 20 5f 53 | 59 53 56 28 76 6f 69 64 |l int _S|YSV(void|
|000002a0| 29 3b 0d 0d 0d 0d 2f 2a | 09 54 68 65 20 53 79 73 |);..../*|.The Sys|
|000002b0| 74 65 6d 56 65 72 73 69 | 6f 6e 20 66 75 6e 63 74 |temVersi|on funct|
|000002c0| 69 6f 6e 20 72 65 74 75 | 72 6e 73 20 74 68 65 20 |ion retu|rns the |
|000002d0| 53 79 73 74 65 6d 20 46 | 69 6c 65 27 73 20 76 65 |System F|ile's ve|
|000002e0| 72 73 69 6f 6e 20 61 73 | 20 61 6e 20 27 64 6f 75 |rsion as| an 'dou|
|000002f0| 62 6c 65 27 20 74 79 70 | 65 09 09 2a 2f 0d 2f 2a |ble' typ|e..*/./*|
|00000300| 09 66 6c 6f 61 74 69 6e | 67 2d 70 6f 69 6e 74 20 |.floatin|g-point |
|00000310| 6e 75 6d 62 65 72 2e 20 | 20 54 68 69 73 20 73 6f |number. | This so|
|00000320| 75 72 63 65 20 63 6f 64 | 65 2c 20 77 68 65 6e 20 |urce cod|e, when |
|00000330| 63 6f 6d 70 69 6c 65 64 | 2c 20 77 69 6c 6c 20 70 |compiled|, will p|
|00000340| 72 6f 64 75 63 65 20 61 | 6e 20 61 70 70 72 6f 70 |roduce a|n approp|
|00000350| 72 69 61 74 65 09 2a 2f | 0d 2f 2a 09 27 64 6f 75 |riate.*/|./*.'dou|
|00000360| 62 6c 65 27 20 74 79 70 | 65 20 66 6c 6f 61 74 69 |ble' typ|e floati|
|00000370| 6e 67 2d 70 6f 69 6e 74 | 20 6e 75 6d 62 65 72 20 |ng-point| number |
|00000380| 77 68 6f 73 65 20 66 6f | 72 6d 61 74 20 69 73 20 |whose fo|rmat is |
|00000390| 64 65 74 65 72 6d 69 6e | 65 64 20 62 79 20 79 6f |determin|ed by yo|
|000003a0| 75 72 20 63 6f 6d 70 69 | 6c 65 72 27 73 09 09 2a |ur compi|ler's..*|
|000003b0| 2f 0d 2f 2a 09 73 65 74 | 74 69 6e 67 73 20 28 69 |/./*.set|tings (i|
|000003c0| 65 3a 20 73 74 61 6e 64 | 61 72 64 2c 20 6e 61 74 |e: stand|ard, nat|
|000003d0| 69 76 65 2c 20 63 6f 6d | 70 69 6c 65 64 20 66 6f |ive, com|piled fo|
|000003e0| 72 20 61 20 6d 61 74 68 | 20 63 6f 2d 70 72 6f 63 |r a math| co-proc|
|000003f0| 65 73 73 6f 72 2c 20 6f | 72 20 6e 6f 74 29 2e 09 |essor, o|r not)..|
|00000400| 09 09 09 2a 2f 0d 0d 20 | 70 61 73 63 61 6c 20 64 |...*/.. |pascal d|
|00000410| 6f 75 62 6c 65 20 53 79 | 73 74 65 6d 56 65 72 73 |ouble Sy|stemVers|
|00000420| 69 6f 6e 28 76 6f 69 64 | 29 0d 20 09 7b 0d 20 09 |ion(void|). .{. .|
|00000430| 72 65 74 75 72 6e 20 28 | 5f 53 59 53 56 28 29 20 |return (|_SYSV() |
|00000440| 2f 20 31 30 30 2e 30 29 | 3b 09 09 09 09 09 09 2f |/ 100.0)|;....../|
|00000450| 2a 20 47 65 74 20 53 79 | 73 74 65 6d 20 56 65 72 |* Get Sy|stem Ver|
|00000460| 73 69 6f 6e 20 61 6e 64 | 20 63 6f 6e 76 65 72 74 |sion and| convert|
|00000470| 20 74 6f 20 61 09 2a 2f | 0d 20 09 7d 09 09 09 09 | to a.*/|. .}....|
|00000480| 09 09 09 09 09 09 09 09 | 2f 2a 20 65 78 74 65 6e |........|/* exten|
|00000490| 64 65 64 20 74 79 70 65 | 2e 09 09 09 09 09 09 2a |ded type|.......*|
|000004a0| 2f 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |/.......|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 01 00 00 00 01 b0 | 00 00 00 b0 00 00 00 52 |........|.......R|
|00000510| 00 00 00 14 16 53 65 72 | 69 61 6c 20 50 6f 72 74 |.....Ser|ial Port|
|00000520| 20 41 72 62 69 74 72 61 | 74 6f 72 00 00 00 00 00 | Arbitra|tor.....|
|00000530| 0b 54 6f 6f 6c 73 50 6c | 75 73 2e 63 02 00 00 00 |.ToolsPl|us.c....|
|00000540| 50 61 72 74 53 49 54 21 | 00 00 00 00 00 00 00 00 |PartSIT!|........|
|00000550| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 a9 11 23 b9 00 00 | 00 00 00 00 02 02 00 00 |....#...|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 01 be 25 00 00 00 |........|....%...|
|00000590| 00 17 05 54 69 6d 65 73 | 00 00 00 00 00 00 00 00 |...Times|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 02 d6 25 00 | 00 00 00 47 0f 4d 50 50 |......%.|...G.MPP|
|000005c0| 20 57 68 69 74 65 20 50 | 61 70 65 72 00 00 00 00 | White P|aper....|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 01 92 |........|........|
|000005e0| 25 00 00 00 00 48 13 54 | 6f 6f 6c 73 50 6c 75 73 |%....H.T|oolsPlus|
|000005f0| 2e 4c 69 62 32 20 63 6f | 70 79 00 00 00 00 00 00 |.Lib2 co|py......|
|00000600| 00 00 00 1e 02 10 80 01 | 00 00 03 32 2e 31 13 54 |........|...2.1.T|
|00000610| 48 49 4e 4b 20 43 20 53 | 6f 75 72 63 65 20 43 6f |HINK C S|ource Co|
|00000620| 64 65 00 00 00 2d 02 10 | 80 01 00 00 03 32 2e 31 |de...-..|.....2.1|
|00000630| 22 32 2e 31 0d a9 31 39 | 38 39 2d 39 33 20 57 61 |"2.1..19|89-93 Wa|
|00000640| 74 65 72 d5 73 20 45 64 | 67 65 20 53 6f 66 74 77 |ter.s Ed|ge Softw|
|00000650| 61 72 65 00 00 00 59 58 | 54 68 69 73 20 64 6f 63 |are...YX|This doc|
|00000660| 75 6d 65 6e 74 20 63 6f | 75 6c 64 20 6e 6f 74 20 |ument co|uld not |
|00000670| 62 65 20 6f 70 65 6e 65 | 64 2c 20 62 65 63 61 75 |be opene|d, becau|
|00000680| 73 65 20 74 68 65 20 61 | 70 70 6c 69 63 61 74 69 |se the a|pplicati|
|00000690| 6f 6e 20 d2 54 48 49 4e | 4b 20 43 d3 20 63 6f 75 |on .THIN|K C. cou|
|000006a0| 6c 64 20 6e 6f 74 20 62 | 65 20 66 6f 75 6e 64 2e |ld not b|e found.|
|000006b0| 00 00 01 00 00 00 01 b0 | 00 00 00 b0 00 00 00 52 |........|.......R|
|000006c0| 00 72 b5 d4 1a d0 00 00 | 00 1c 00 52 00 01 76 65 |.r......|...R..ve|
|000006d0| 72 73 00 01 00 12 53 54 | 52 20 00 00 00 2a 00 02 |rs....ST|R ...*..|
|000006e0| ff ff 20 00 00 00 00 72 | b4 14 00 01 ff ff 20 00 |.. ....r|...... .|
|000006f0| 00 22 00 72 b4 58 bf f3 | ff ff 00 00 00 53 00 72 |.".r.X..|.....S.r|
|00000700| b4 d8 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+